import request from '@/utils/request'

export function getArticleInfo(data) {
  return request({
    url: '/backend/article/list',
    method: 'post',
    data
  })
}
export function addArticle(query) {
  return request({
    url: '/backend/article/add',
    method: 'post',
    params: query
  })
}
export function editArticle(query) {
  return request({
    url: '/backend/article/update',
    method: 'post',
    params: query
  })
}
export function delArticle(query) {
  return request({
    url: '/backend/article/delete',
    method: 'post',
    params: query
  })
}



